﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface IUpFiles
    {
        UpFileInfo GetFile(int id);

        IList<UpFileInfo> GetFiles(string searchKey, int itemId, string ver, StatusType? status, int pageIndex, int pageSize, out int totalRecord);

        int Insert(UpFileInfo info);

        bool Update(UpFileInfo info);

        bool Delete(int id);

        object GetFieldValue(int newsId, string fieldName);

    }
}
